home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000364_fdc@columbia.edu_Mon Sep 16 09:54:21 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  52 lines

  1. Article: 13697 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: scripting to a serial sms modem - idiot question!
  6. Date: 16 Sep 2002 09:54:14 -0400
  7. Organization: Columbia University
  8. Lines: 35
  9. Message-ID: <am4nq6$p5i$1@watsol.cc.columbia.edu>
  10. References: <e516d9ec.0209160537.450ca7b@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1032184455 5374 128.59.39.139 (16 Sep 2002 13:54:15 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 16 Sep 2002 13:54:15 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13697
  16.  
  17. In article <e516d9ec.0209160537.450ca7b@posting.google.com>,
  18. Mark Swarbrick <mswarbrick@rentokil.com> wrote:
  19. : I have a seimens sms modem connected to /dev/ttyS0 and i can
  20. : communicate with it fine on the command line.
  21. : A website is created to allow users on our intranet to sms other
  22. : users, so it's simply two dialogue boxes with the number and the
  23. : message. This then gets written to a file which is called in the
  24. : script and wrapped with the necessary commands.
  25. : All i need to be run is this script
  26. : <start kermit>
  27. : set modem type usr
  28. : set line /dev/ttyS0
  29. : set speed 9600
  30. : set carrier-watch off
  31. : connect
  32. : at+cmgf=1
  33. : at+cmgs="+44123456789"
  34. : <send ctrl+z>
  35. : <then exit cleanly out of kermit>
  36. : How can i do this as kermit goes into interactive mode as soon as i
  37. : issue the connect command! How can i automate this?
  38. This is definitely THE Most Frequently Asked Question about Kermit
  39. scripting.  It's answered here:
  40.  
  41.   http://www.columbia.edu/kermit/ckscripts.html
  42.  
  43. Read it, finish your script, then send it in and we'll include it in the
  44. script library since SMS seems to be such a popular service these days.
  45.  
  46. - Frank
  47.